package com.alipay.api.demo;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

/**
 * @author tjq
 * @Title: WxPayProvider
 * @Description: 微信支付提供者
 * @date 2019/8/13 9:35
 */
@FeignClient("${application.pay.name}")
public interface WxPayProvider {

    /**
     * 支付
     * @return
     */
    @GetMapping(value = "/wxPay")
    String pay();
}
